package com.ruoyi.project.datamanage.service.impl;

import com.ruoyi.project.datamanage.domain.Income;
import com.ruoyi.project.datamanage.mapper.IncomeMapper;
import com.ruoyi.project.datamanage.service.IncomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IncomeServiceImpl implements IncomeService {
    @Autowired
    private IncomeMapper incomeMapper;
    @Override
    public Income selectIncomeSum(int prescriptionSinglePrice) {
        return incomeMapper.selectiIncome(prescriptionSinglePrice);
    }
}
